package com.hzlx.operationParameters.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工序参数对象 mes_operation_parameters
 * 
 * @author ruoyi
 * @date 2025-07-01
 */
public class OperationParameters extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参数ID */
    private Long paramId;

    /** 工序ID */
    @Excel(name = "工序ID")
    private String operationId;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String paramName;

    /** 参数类型 */
    @Excel(name = "参数类型")
    private String paramType;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unitOfMeasure;

    /** 标准参数值 */
    @Excel(name = "标准参数值")
    private BigDecimal standardValue;

    /** 允许的最小值 */
    @Excel(name = "允许的最小值")
    private BigDecimal minValue;

    /** 允许的最大值 */
    @Excel(name = "允许的最大值")
    private BigDecimal maxValue;

    /** 参数详细说明 */
    @Excel(name = "参数详细说明")
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setParamId(Long paramId) 
    {
        this.paramId = paramId;
    }

    public Long getParamId() 
    {
        return paramId;
    }

    public void setOperationId(String operationId) 
    {
        this.operationId = operationId;
    }

    public String getOperationId() 
    {
        return operationId;
    }

    public void setParamName(String paramName) 
    {
        this.paramName = paramName;
    }

    public String getParamName() 
    {
        return paramName;
    }

    public void setParamType(String paramType) 
    {
        this.paramType = paramType;
    }

    public String getParamType() 
    {
        return paramType;
    }

    public void setUnitOfMeasure(String unitOfMeasure) 
    {
        this.unitOfMeasure = unitOfMeasure;
    }

    public String getUnitOfMeasure() 
    {
        return unitOfMeasure;
    }

    public void setStandardValue(BigDecimal standardValue) 
    {
        this.standardValue = standardValue;
    }

    public BigDecimal getStandardValue() 
    {
        return standardValue;
    }

    public void setMinValue(BigDecimal minValue) 
    {
        this.minValue = minValue;
    }

    public BigDecimal getMinValue() 
    {
        return minValue;
    }

    public void setMaxValue(BigDecimal maxValue) 
    {
        this.maxValue = maxValue;
    }

    public BigDecimal getMaxValue() 
    {
        return maxValue;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paramId", getParamId())
            .append("operationId", getOperationId())
            .append("paramName", getParamName())
            .append("paramType", getParamType())
            .append("unitOfMeasure", getUnitOfMeasure())
            .append("standardValue", getStandardValue())
            .append("minValue", getMinValue())
            .append("maxValue", getMaxValue())
            .append("description", getDescription())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
